using System;
using System.Collections.Generic;
using System.Linq;

namespace SocialLearning
{
    public class UAC_InstitutionBackground : I_UAC_InstitutionBackground
    {
        #region Private Properties

        public int uid { get; set; }
        private string institutionName;
        private DateTime startDate;
        private DateTime endDate;
        public List<I_UAC_InstitutionSubjectResult> InstitutionSubjects { get; set; }

        #endregion

        #region Properties

        /// <summary>
        /// Gets or sets the name of the institution.
        /// </summary>
        /// <value>
        /// The name of the institution.
        /// </value>
        public string InstitutionName
        {
            get
            {
                return institutionName;
            }
            set
            {
                institutionName = value;
            }
        }

        /// <summary>
        /// Gets or sets the start date.
        /// </summary>
        /// <value>
        /// The start date.
        /// </value>
        public DateTime StartDate
        {
            get
            {
                return startDate;
            }
            set
            {
                startDate = value;
            }
        }

        /// <summary>
        /// Gets or sets the end date.
        /// </summary>
        /// <value>
        /// The end date.
        /// </value>
        public DateTime EndDate
        {
            get
            {
                return endDate;
            }
            set
            {
                endDate = value;
            }

        }
        #endregion

        #region Constructors
        public UAC_InstitutionBackground(string institutionName, DateTime startDate, DateTime endDate)
        {
            this.institutionName = institutionName;
            this.startDate = startDate;
            this.endDate = endDate;
            this.InstitutionSubjects = new List<I_UAC_InstitutionSubjectResult>();
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="UAC_InstitutionBackground"/> class.
        /// </summary>
        /// <param name="institutionName">Name of the institution.</param>
        /// <param name="startDate">The start date.</param>
        /// <param name="endDate">The end date.</param>
        /// <param name="institutionSubjects">The institution subjects.</param>
        public UAC_InstitutionBackground(string institutionName, DateTime startDate, DateTime endDate, List<I_UAC_InstitutionSubjectResult> institutionSubjects)
        {
            this.institutionName = institutionName;
            this.startDate = startDate;
            this.endDate = endDate;
            this.InstitutionSubjects = institutionSubjects;
        }

        #endregion

        #region Private Methods

        #endregion

        #region Engine Implementation

        #endregion
    }
}
